package com.etcn.common.Enum;

/**
 * 数据删除标识枚举
 * @author: guozc
 * @date: 2015年10月17日
 */
public enum DelFlag {
	
	/**
	 * {@code 0	 正常}.
	 */
	NORMAL(0, "normal"),

	/**
	 * {@code 1	已删除}.
	 */
	DELETED(1, "deleted");
	
	private final int value;

	private final String reasonPhrase;

	private DelFlag(int value, String reasonPhrase) {
		this.value = value;
		this.reasonPhrase = reasonPhrase;
	}

	public int value() {
		return this.value;
	}

	public String reasonPhrase() {
		return reasonPhrase;
	}

	@Override
	public String toString() {
		return Integer.toString(value);
	}

}
